package com.huatai.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Lion
 * @date 2024/4/7  11:32
 */
@Data
@TableName("tb_dictionary")
@ApiModel("字典表")
public class DictionaryEntity extends BaseEntity {

	@TableField("pid")
	@ApiModelProperty("父级id")
	private String pid;

	@TableField("configKey")
	@ApiModelProperty("配置key")
	private String configKey;

	@TableField("configName")
	@ApiModelProperty("配置名称")
	private String configName;

	@TableField("particulars")
	@ApiModelProperty("详情描述")
	private String particulars;

	@TableField("code")
	@ApiModelProperty("行业编码")
	private String code;

	@TableField(exist = false)
	List<DictionaryEntity> childs;

}
